package com.wsoft.hr.pm.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.wsoft.entity.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;

/**
 * <p>
 * 人员考核活动表
 * </p>
 *
 * @author zhanggukai
 * @since 2025年02月28日 09:21:31
 */
@Getter
@Setter
@TableName("hr_pm_member_template")
@Schema(name = "HrPmMemberTemplateEntity", description = "人员考核活动表")
public class HrPmMemberTemplateEntity extends BaseEntity {

    @Schema(description = "考核活动id")
    @TableField("activity_id")
    private Long activityId;

    @Schema(description = "人员id")
    @TableField("member_id")
    private Long memberId;

    @Schema(description = "人员姓名")
    @TableField("member_name")
    private String memberName;

    @Schema(description = "人员编码")
    @TableField("member_code")
    private String memberCode;

    @Schema(description = "绩效组织id")
    @TableField("hr_org_id")
    private Long hrOrgId;

    @Schema(description = "组织名称（一级部门起）")
    @TableField("hr_org_full_name")
    private String hrOrgFullName;

    @Schema(description = "岗位")
    @TableField("post_id")
    private Long postId;

    @Schema(description = "岗位名称")
    @TableField("post_name")
    private String postName;

    @Schema(description = "职务级别")
    @TableField("level_id")
    private Long levelId;

    @Schema(description = "职务级别名称")
    @TableField("level_name")
    private String levelName;

    @Schema(description = "考核模版")
    @TableField("template_id")
    private Long templateId;

    @Schema(description = "考核模版名称")
    @TableField("template_name")
    private String templateName;

    @Schema(description = "得分")
    @TableField("score")
    private BigDecimal score;

    @Schema(description = "等级")
    @TableField("grade")
    private String grade;

    @Schema(description = "指标评审工作流状态")
    @TableField("target_status")
    private Integer targetStatus;

    @Schema(description = "指标评审工作流编码")
    @TableField("target_business_code")
    private String targetBusinessCode;

    @Schema(description = "评分工作流状态")
    @TableField("score_status")
    private Integer scoreStatus;

    @Schema(description = "评分工作流编码")
    @TableField("score_business_code")
    private String scoreBusinessCode;

    @Schema(description = "业务状态")
    @TableField("state")
    private String state;

}
